<div id="box">
    <h3 id="add">Add Category</h3>
    <form id='form' action='#' method='post'>
        <fieldset id='personal'>
            <legend>INFORMATION</legend>
            <label for="parent_id">父类 : </label>
             <select name="parent_id">
                <option value='0'>请选择</option>
                <?php foreach ($this->parents as $parent):?>
                    <option value='<?php echo $parent->id;?>' <?php echo $parent->id==$this->category->id ? 'selected="selected"' : '';?>><?php echo $parent->name;?></option>
                <?php endforeach;?>
             </select>
             <br />
            <label for="name">名称 : </label>
            <input name="name" id="name" type="text" tabindex="1" value="<?php echo $this->category->name;?>" />
            <br />
            <label for="slug">别名 : </label>
            <input name="slug" id="slug" type="text" tabindex="1" value="<?php echo $this->category->slug;?>" />
        </fieldset>
        <div align="center">
            <input id="submit" type="submit" value="Submit" />
            <input id='reset' type='reset' value='Reset' />
        </div>
    </form>
</div>